package com.spc.pojo;

import lombok.*;
import java.io.Serializable;
import java.util.Date;

/**
 * @author smark
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Builder
public class Product implements Serializable {
    private Integer id;
    private String title;
    private Double price;
    private String img;
    private Date createTime;
    private Integer num;
    private Integer status;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
